﻿// =================================================================== 
// 模块说明
//====================================================================
// 创建时间：2019-01-09 14:16:44
// 负责人：liucx
// ===================================================================
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Data.SqlClient;
using System.Linq.Expressions;
using Microsoft.Practices.EnterpriseLibrary.Common;
using Microsoft.Practices.EnterpriseLibrary.Data;
using OF.Utility;
using OF.Component.Model;
using OF.Component.IDAL;
using System.Text;
namespace OF.Component.DAL
{

    /// <summary>
    ///模版城市变更历史记录 数据访问层
    /// </summary>	
    internal partial class ExpressFeeTplCityHistory
    {

        /// <summary>
        /// 根据断言条件获取单个模版城市变更历史记录
        /// </summary>
        public ExpressFeeTplCityHistoryInfo QuerySingle(Expression<Func<ExpressFeeTplCityHistoryInfo, bool>> predicate)
        {
            return SQLServerProvider.CreateObject(ConnectionStringKey, predicate);
        }
        /// <summary>
    	/// 根据断言条件获获取模版城市变更历史记录列表
    	/// </summary>
	    public IList<ExpressFeeTplCityHistoryInfo> QueryList(Expression<Func<ExpressFeeTplCityHistoryInfo, bool>> predicate)
        {
            return SQLServerProvider.CreateList(ConnectionStringKey, predicate);
        }

    }

}